package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ProductInfo;
import cn.wolfcode.crm.query.ProductInfoQueryObject;

import java.util.List;

public interface ProductInfoMapper {

    void deleteByPrimaryKey(Long id);

    void insert(ProductInfo record);

    ProductInfo selectByPrimaryKey(Long id);

    List<ProductInfo> selectAll();

    void updateByPrimaryKey(ProductInfo record);

    int queryFormCount(ProductInfoQueryObject qo);

    List<ProductInfo> queryFormList(ProductInfoQueryObject qo);

    void changeSate(Long id);
    void shutDeduc(Long id);
    List<ProductInfo> queryProductForaiId(Long id);

    List<String> selectProductName();
}